package com.soft.manage.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.soft.common.annotation.Excel;
import com.soft.common.core.domain.BaseEntity;

/**
 * 流程管理对象 flow_node
 *
 * @author mobin
 * @date 2025-05-20
 */
@TableName(resultMap = "com.soft.manage.mapper.FlowNodeMapper.FlowNodeResult")
public class FlowNode extends BaseEntity
        {
private static final long serialVersionUID = 1L;

    /** 主键 */
            @Excel(name = "主键")
        @TableId(value = "id",type = IdType.AUTO)
    private Long id;

    /** 流程名字 */
            @Excel(name = "流程名字")
    private String flowName;

    /** 流程的键 */
            @Excel(name = "流程的键")
    private Long flowKey;

    public void setId(Long id)
            {
            this.id = id;
            }

    public Long getId()
            {
            return id;
            }
    public void setFlowName(String flowName)
            {
            this.flowName = flowName;
            }

    public String getFlowName()
            {
            return flowName;
            }
    public void setFlowKey(Long flowKey)
            {
            this.flowKey = flowKey;
            }

    public Long getFlowKey()
            {
            return flowKey;
            }

@Override
public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("flowName", getFlowName())
            .append("flowKey", getFlowKey())
        .toString();
        }
        }
